# -*- coding: gb18030 -*-

import logging
import json
import random
import string
import datetime
import hashlib
import sys

from pylons import request, response, session, tmpl_context as c, url
from pylons.controllers.util import abort, redirect

from fidoweb.lib.base import Session, BaseController, render
from fidoweb.lib.algorithm import checkTimeScope, sendMail

log = logging.getLogger(__name__)

class GroupController(BaseController) :
	def index(self) :
		from fidoweb.controllers.login import LoginController
		lc = LoginController()
		c.loginUser = lc._getLoginUser()
		c.schools = self._getSchools()
		
		c.jsFiles = list()
		c.cssFiles = list()
		c.title = 'Fido - Groups'
		c.header = render('global/globalheader.mako')
		c.content = render('group/content.mako')
		return render('global/global.mako')
